package com.itboye.eweilisten.interfaces;

/**
 * Created by admin on 2016/11/28.
 */

public interface IUserInfoInterface<PersonDataBean> {

    /**
     * 用户登录（账户密码）
     */
    void login(String username, String pwd);

    /**
     * 用户登录
     */
    void onRefister(String code, String mobile,String username,String password);

    /**
     * 发送验证码
     * @param code_type
     */
    void  onSecurCode(String  acceptor,String code_type);

//    /**
//     * 调查问卷
//     */
    void  onDiaocha(String uid,String s_id);

    /**
     * 提交问卷
     * @param answer
     */
    void onTiJiaoWenJuan(String answer,String uid,String s_id);

    /**
     * 验证验证码
     * @param acceptor  邮箱
     * @param code       验证码
     * @param code_type  标识符
     */
    void  onYanZhengMa(String acceptor,String code,String code_type,String uid,String s_id);

    /**
     * 修改密码
     */
    void onPassWord(String uid,String s_id,String code,String email,String password);

    /**
     * 修改邮箱地址
     */
    void onUpdateemil(String email,String new_email,String code,String new_code,String uid,String s_id);

    /**
     * 获取学校
     */
    void onSchool(String area_id,String uid,String s_id);

    /**
     * 更新资料
     */
    void onQuestion(String uid,String s_id);

    /**
     * touxinag
     */
    void onHeadQuestion(String uid,String s_id);

    /***
     * 资料更新
     */
    void  onUpdateUser(String s_id,String uid,String nickname,String sex,String sign, String head,String grade_code,String loc_school,String loc_country,String loc_area);

    /**
     * 自动登录
     */
    void onAutoLogin(String uid,String auto_login_code);

    /**
     * 查询已经登录的设备
     */
    void  onDevice(String uid,String s_id);

    /***
     * 删除设备
     */
    void onDeleteDevice(String s_id,String uid,String device_token);

    /**
     * 首页
//     * @param position
     */
    void onHomeLunbo(String size,String uid,String s_id);

    /**
     * 修改密码
     */
    void onUpdatePwd(String s_id,String uid,String password,String new_password);

    /**
     * 商品详情
     */
    void  onGoodsInfo(String id,String uid,String s_id);
    /**
     * 商品详情
     */
    void  onGoodsInfoLie(String id,String uid,String s_id);

    /***
     * 立即支付
     */
    void onPlipay(String idcode,String s_id,String uid,String sku_pkid,String note);

    /**
     * 重新支付
     */
    void chongxinPlipay(String s_id,String uid,String order_code);

    /**
     * 微信支付
     */
    void onWeiXinPay(String pay_code,String uid,String s_id);

    /**
     * 我的账户定单
     */
    void onOrder(String s_id,String uid,String keyword,String query_status,String page_index,String page_size);

    /**
     * 取消订单
     */
    void onCanlerOrder(String s_id,String uid,String order_code);

    /**
     * 跟换手机
     */
    void onUpdatePhone(String s_id,String uid,String mobile,String mobile_new);

    /**
     * 订单详情
     */
    void  onOrderDetails(String s_id,String uid,String orderNum);

    /**
     * 个人中心我的书籍
     */
    void onMyBooks(String  uid,String pageNum,String pageSize,String s_id);


    /**
     * 个人中心我的书籍
     */
    void onTimu(String  uid,String unit_id,String s_id);

    /**
     *
     */
    void onSchoolRepor(String uid,String answer_type,String book_id,String unit_id,String order,String current_page,String page_size,String s_id);

    /**
     *
     */
    void onSchoolReporTwo(String uid,String answer_type,String book_id,String unit_id,String order,String current_page,String page_size,String s_id);


    /**
     * 列表搜索
     */
    void  onPreSearch(String uid,String kword,String book_id,String page_size,String s_id);

    /**
     * 对错预览
     */
    void onSubmitDetail(String uid,String unit_id,String id,String s_id);

    /**
     * 删除答题
     */
    void onDelet(String uid,String id,String s_id);
    /**
     * 已购书籍
     */
    void onYiMaiBook(String uid,String kword,String cate_id,String page_index,String page_size,String s_id);
    //猜你喜欢
    void onGuessLike(String size,String page,String group,String uid,String s_id);
}
